#pragma once

#include<vector>
using namespace std;
class SeatImpl;
class Seat;

class LayoutBuilder
{
public:
	LayoutBuilder(CWnd* pParentWnd,
		          vector<SeatImpl*>& vSeatImpl,
				  vector<vector<Seat*> >& vSeatLayout);
	~LayoutBuilder(void);

private:
	BOOL BuildSeatLayout();
	BOOL ReleaseSeatLayout();
	CSize GetLayoutSize();

private:
	CWnd* m_pParentWnd;
	vector<SeatImpl*>& m_vSeatImpl;
	vector<vector<Seat*> >& m_vSeatLayout;
};
